<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>修改收银员</title>
		<link rel="stylesheet" href="./../public/css/common.css">
		<link rel="stylesheet" href="./../public/css/pintuer.css">
		<link rel="stylesheet" href="./css/casher-modify.css">
	</head>
	<body ms-controller="casherModify">
		<div class="content">
			<div>
				<div class="account_section ">
					<div class="line-big border section_common">
						<div class="x12">

							<div class="line-big bg-sub box-header">
								<div class="x8 title">
									修改资料
								</div>
								<div class="x4 text-right">
									<a href="javascript:;"></a>
								</div>
							</div>
							<div class="line-big ">
								<div class="x6">
									<form action="account.do?act=account" name="myform" method="post">
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												收银员名称
											</div>
											<div class="am-form-right">
												<input class="commoninput" placeholder="请输入收银员名称" name="payInfo" ms-duplex="@casherName" autocomplete="off"/>
											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												部门名称
											</div>

											<div class="am-form-right">
												<select class="commoninput" value="" ms-duplex="@partName">
													<option value="">请选择部门名称</option>
													<option ms-for="(index,item) in @partlist" ms-attr="{value:index,selected:@isselected}" checked="{{item.is_admin == '是'}}">{{item.name}}</option>

												</select>

											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												是否为管理员
											</div>

											<div class="am-form-right">
												<select class="commoninput" ms-duplex="@isAdmin">
													<option value="">请选择是否为管理员</option>
													<option value="1">是</option>
													<option value="0">否</option>
												</select>

											</div>
										</div>

										<div class="line-big am-form-group">
											<div class="am-form-left text-left">

											</div>

											<div class="am-form-right">
												<button class="button bg-sub" type="button" ms-click="@sureClickdata()">
													<img class="loadimg" :class="showLoad ? '' : 'hide'"  
src="./../public/images/load3.gif" />确认</button>
												<!-- <button class="button n-option" type="button" ms-click="@ResetClick('')">
													重置</button> -->
											</div>
										</div>

									</form>
								</div>
							</div>
						</div>
					</div>
					<div class="account_section ">
						<div class="line-big border section_common">
							<div class="x12">
								<div class="line-big bg-sub box-header">
									<div class="x8 title">
										修改手机号
									</div>
									<div class="x4 text-right">
										<a href="javascript:;"></a>
									</div>
								</div>
								<div class="line-big ">
									<div class="x6">
										<form action="account.do?act=account" name="myform" method="post">
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">
													手机号码
												</div>

												<div class="am-form-right">
													<input class="commoninput" ms-duplex="@tel" name="tel" disabled="disabled"/>
												</div>
											</div>
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">
													图形验证码
												</div>

												<div class="am-form-right">
													<input class="commoninput codeinput" name="code" ms-duplex="@imgcode1" autocomplete="off"/>
													<img ms-attr="{src: @path1}" ms-if="@imgcode1show" class="imgcode1" ms-click="@imgchange()" />
													<span class="textshow_btn" ms-if="@text1show" ms-click="@imgchange()">点击获取图片</span>

												</div>
											</div>
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">
													验证码
												</div>

												<div class="am-form-right">
													<input class="commoninput codeinput" name="code" ms-duplex="@codenub" autocomplete="off"/>
													<input type="button" class=" btn" ms-click="@SMSSend()" ms-duplex="@txtusersend" />


												</div>
											</div>
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">
													新手机号
												</div>

												<div class="am-form-right">
													<input class="commoninput" ms-duplex="@newMobile" name="tel" autocomplete="off"/>
												</div>
											</div>


											<div class="line-big am-form-group">
												<div class="am-form-left text-left">

												</div>

												<div class="am-form-right">
													<button class="button bg-sub" type="button" ms-click="@sureClicktel()">
														<img class="loadimg" :class="showLoad1 ? '' : 'hide'"  
src="./../public/images/load3.gif" />确认</button>
													<!-- <button class="button n-option" type="button" ms-click="@ResetClick('')">
														重置</button> -->
												</div>
											</div>

										</form>
									</div>
								</div>
							</div>
						</div>




					</div>
					<!-- 弹框 -->
					<div class="dialog" :class='@toggle? "open":""'>
						<div class="dialog-head">
							<strong>提示</strong>
						</div>
						<div class="dialog-body">
							{{@info}}
						</div>
						<div class="dialog-foot">

							<button class="button button-small bg-blue" ms-click="@closeClick()">
								确认</button>
						</div>
					</div>
				</div>
			</div>
			<div class="mask" :class='@toggle? "openmask":""'></div>
	</body>
	<!-- api配置文档 -->
	<script src="./../api/api.js"></script>
	<!-- jquery -->
	<script src="./../public/js/jquery.js"></script>
	<!-- 拼图 js -->
	<script src="./../public/js/pintuer.js"></script>
	<!-- avalon js -->
	<script src="./../public/js/avalon.js"></script>
	<!-- common js -->
	<script src="./../public/js/common.js"></script>
	<!-- 修改收银员js-->
	<script src="./js/casher-modify.js"></script>
</html>
